import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    systemTime:'',
    curDate:'',
    chartSize:0,
    chart: {},
    series: [],
    selJzId:'',
  },
  mutations: {
    setSystemTime(state,playload){
      state.systemTime = playload.systemTime
    },
    setCurDate(state,playload){
      state.curDate = playload.curDate
    },
    setChartSize(state,playload){
      state.chartSize++
    }
  },
  actions: {
  },
  modules: {
  }
})
